package com.newer.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value="com-newer-domain-User")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_user")
public class User {
    @TableId(value = "userId", type = IdType.AUTO)
    @ApiModelProperty(value="")
    private Integer userid;

    @TableField(value = "userName")
    @ApiModelProperty(value="")
    private String username;

    @TableField(value = "userPwd")
    @ApiModelProperty(value="")
    private String userpwd;

    @TableField(value = "realName")
    @ApiModelProperty(value="")
    private String realname;

    @TableField(value = "phone")
    @ApiModelProperty(value="")
    private String phone;

    @TableField(value = "state")
    @ApiModelProperty(value="")
    private String state;

    @TableField(value = "imgs")
    @ApiModelProperty(value="")
    private String imgs;

    @TableField(value = "photo")
    @ApiModelProperty(value="")
    private String photo;
}